//
//  HNTeacherFundManagementVCTableViewController.m
//  优学荟管理系统
//
//  Created by edz on 2017/11/18.
//  Copyright © 2017年 星道三好. All rights reserved.
//

#import "HNTeacherFundManagementVCTableViewController.h"
#import "ZYResourceCircleTowController.h"
#import "HMTeacherViewController.h"
@interface HNTeacherFundManagementVCTableViewController ()

@end

@implementation HNTeacherFundManagementVCTableViewController

- (void)viewDidLoad {
    
    [super viewDidLoad];
    
    self.title = @"资金管理";
    
    self.tableView.tableFooterView = [UIView new];
    self.tableView.tableHeaderView = [UIView new];
}


- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    
    return 1;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    
    UITableViewCell *Cell = [tableView dequeueReusableCellWithIdentifier:@"Cell"];
    if (Cell == nil) {
        Cell = [[UITableViewCell alloc] initWithStyle:(UITableViewCellStyleDefault) reuseIdentifier:@"Cell"];
        Cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
        Cell.selectionStyle = UITableViewCellSelectionStyleNone;
        Cell.textLabel.font = [UIFont systemFontOfSize:14.f * KScale];
    }
    Cell.textLabel.text = @"绩效补贴";
    return Cell;
}

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    
    if (indexPath.row == 0) {
        
        HMTeacherViewController *VC = [[HMTeacherViewController alloc] init];
        [self.navigationController pushViewController:VC animated:YES];
    }
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
    
    return 44 * KScale;
}
@end
